package maosy.oauth2.server.test.spring.service

import maosy.oauth2.server.service.impl.UserServiceImpl
import maosy.oauth2.server.test.spring.SpringTest
import org.junit.Test
import javax.annotation.Resource

class UserServiceTest : SpringTest() {

    @Resource
    lateinit var userDetailsService: UserServiceImpl

    @Test
    fun userDetailTest() {
        val userDetail = userDetailsService.loadUserByUsername("admin")
        println(userDetail)
    }

}